package com.bilibili.lzx.dao;

import com.bilibili.lzx.dao.domain.FollowingGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lzx
 * @date 2024/8/20 20:54
 */
@Mapper
public interface FollowingGroupDao {
    FollowingGroup getById(Long groupId);

    FollowingGroup getByType(String type);

    List<FollowingGroup> getByUserId(Long userId);

    List<FollowingGroup> getUserFollowingGroups(Long userId);

    void addUserFollowingGroup(FollowingGroup followingGroup);
}
